package main

import "fmt"

type person struct {
	name string
}

type student struct {
	*person
	age int
}

func main() {
	s := student{&person{"Mr"}, 10}
	fmt.Println(s)
	fmt.Println(s.name)
}
